package com.kun.oa.service;

import com.kun.oa.mapper.RolePermissionMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author fangkun
 * @create 2023-01-12-12:01
 */
@Service
public class RolePermissionService {

    @Autowired
    private RolePermissionMapper rolePermissionMapper;

    public boolean selectById(int id) {
        return rolePermissionMapper.selectById(id)>0 ? true : false;
    }
}
